package stringTest;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: tao
 * Date: 2023-11-21
 * Time: 9:33
 */
public class Test2 {
    public static void main(String[] args) {
        int data1 = Integer.parseInt("1234");
        Double data2 = Double.parseDouble("12.34");
        System.out.println(data1);
        System.out.println(data2);
    }
}
